package com.gzist.zzchatroomserver.service;

import com.gzist.zzchatroomserver.entity.dto.ResetPasswordDTO;
import com.gzist.zzchatroomserver.entity.dto.UserDTO;
import com.gzist.zzchatroomserver.entity.dto.UserSaveDTO;
import com.gzist.zzchatroomserver.entity.po.User;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.HashMap;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author hzj
 * @since 2025-01-07
 */
public interface UserService extends IService<User> {

    void login(UserDTO userDTO);

    void updatePassword(HashMap<String, String> passwordMap);

    boolean resetPassword(ResetPasswordDTO resetPasswordDTO);

    void saveOrUpdateUser(UserSaveDTO user);
}
